﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="EditPassword.ascx.cs" Inherits="Job.Web.userControls.Personal.EditPassword" %>


<table border="1px" bordercolor="#d8e1e7" style="border-style: solid; border-collapse: collapse"
    width="750px" class="ResumeBaseTable" align="left">    
    <tr><td id="msgTd" runat="server" height="30px" valign="middle" align="center" visible="false" colspan="3"></td></tr>                                                                                                                     
    <tr>
        <td  class="td1" height="30">旧密码<span class="redstar">*</span></td>
        <td  class="ResumeTD" Width="230px">
            <asp:TextBox ID="txtOldPWD" runat="server" Width="200px" 
                MaxLength="30"  CssClass="TextBox" TextMode="Password" ></asp:TextBox>
        </td>
        <td  class="td1 ResumeTD">
            <asp:RequiredFieldValidator ID="rfvName" runat="server" 
                ControlToValidate="txtOldPWD" ErrorMessage="必须输入旧密码"></asp:RequiredFieldValidator>                                
        </td>
    </tr>     
    <tr>
        <td class="td1" height="30">新密码<span><font color="red">*</font></span></td>
        <td class="ResumeTD">
            <asp:TextBox ID="txtNewPWD" runat="server" Width="200px" MaxLength="30" 
                TextMode="Password" CssClass="TextBox"></asp:TextBox>
        </td>
        <td class="td1">
            <asp:RequiredFieldValidator ID="rfv3" runat="server" 
                 ControlToValidate="txtNewPWD" ErrorMessage="请输入新密码"></asp:RequiredFieldValidator>
         </td>                                                         
    </tr>
        
    <tr>
        <td  class="td1" height="30" width="100">重新输入新密码<span class="redstar">*</span></td>
        <td  class="ResumeTD">
            <asp:TextBox ID="txtReNewPWD" runat="server" Width="200px" MaxLength="30" 
                TextMode="Password" CssClass="TextBox"></asp:TextBox>
        </td>
        <td  class="td1">
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                 ControlToValidate="txtReNewPWD" ErrorMessage="请确认新密码"></asp:RequiredFieldValidator>        
            <asp:CompareValidator ID="CompareValidator1" runat="server" 
                ControlToCompare="txtNewPWD" ControlToValidate="txtReNewPWD" 
                ErrorMessage="两次输入的密码不相同"></asp:CompareValidator>
        </td>
    </tr> 


    <tr>
        <td  class="td1" height="30">&nbsp;</td>
        <td  class="td1" colspan="2">
            <asp:Button ID="btSave" CssClass="btn_2k3" Text=" 保 存 " runat="server" 
                CausesValidation="true" onclick="btSave_Click"/>&nbsp;&nbsp;
        </td>
    </tr>      
    
       
  
  
</table>